package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该人员当天该类型最后一条违规数据
 */
public class PersonViolationTypeNameLastOneKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String PERSON_VIOLATION_TYPE_NAME_LAST_ONE_PREFIX = "PERSON_VIOLATION_TYPE_NAME_LAST_ONE_TODAY_";

    private PersonViolationTypeNameLastOneKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static PersonViolationTypeNameLastOneKeyToday token = new PersonViolationTypeNameLastOneKeyToday(TOKEN_EXPIRE, PERSON_VIOLATION_TYPE_NAME_LAST_ONE_PREFIX);
}
